package com.woody.aggregate.saas.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 平台
 */
@Data
public class SaasShopIndustryVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @NotNull(message = "id")
    private Long id;

    @ApiModelProperty(value = "平台行业编码")
    @NotNull(message = "平台行业编码")
    private Long code;

    @ApiModelProperty(value = "平台行业名称")
    @NotNull(message = "平台行业名称")
    private String name;

    @ApiModelProperty(value = "父行业编码")
    @NotNull(message = "父行业编码")
    private Long parentCode;

    @ApiModelProperty(value = "层级")
    @NotNull(message = "层级")
    private Integer level;

    @ApiModelProperty(value = "状态 1=启用，0=禁用，默认1")
    @NotNull(message = "状态")
    private Integer state;

    @ApiModelProperty(value = "展示状态 1=展示，0=隐藏 默认1")
    @NotNull(message = "展示状态")
    private Integer showVal;

    @ApiModelProperty(value = "排序,值越小越靠前")
    @NotNull(message = "排序")
    private Integer sort;

}
